PRISM

Benchmark
Model:polling v.1 (CTMC)
Parameter(s)N = 18, T = 16
Property:s1_before_s2 (prob-reach)
Invocation (default)
./fix-syntax ./prism -javamaxmem 11g -cuddmaxmem 4g -heuristic speed -e 1e-6 -maxiters 1000000 polling.18.prism polling.props --property s1_before_s2 -const T=16
Execution
Walltime:65.2170786857605s
Return code:0
Relative Error:3.433471068182018e-05
Log
PRISM
=====

Version: 4.5.dev
Date: Sat Mar 14 14:51:44 UTC 2020
Hostname: e72bdd194fc5
Memory limits: cudd=4g, java(heap)=11g
Command line: prism -javamaxmem 11g -cuddmaxmem 4g -heuristic speed -e 1e-6 -maxiters 1000000 polling.18.prism polling.props --property s1_before_s2 -const T=16

Parsing model file "polling.18.prism"...

Type:        CTMC
Modules:     server station1 station2 station3 station4 station5 station6 station7 station8 station9 station10 station11 station12 station13 station14 station15 station16 station17 station18 
Variables:   s a s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 

Parsing properties file "polling.props"...

5 properties:
(1) "s1": S=? [ s1=1&!(s=1&a=1) ]
(2) "s1_before_s2": P=? [ !(s=2&a=1) U (s=1&a=1) ]
(3) "served": R{"served"}=? [ C<=T ]
(4) "station1_polled": P=? [ F<=T (s=1&a=0) ]
(5) "waiting": R{"waiting"}=? [ C<=T ]

---------------------------------------------------------------------

Model checking: "s1_before_s2": P=? [ !(s=2&a=1) U (s=1&a=1) ]

Warning: Switching to sparse engine and (backwards) Gauss Seidel (default for heuristic=speed).

Building model...

Computing reachable states...

Reachability (BFS): 37 iterations in 0.18 seconds (average 0.005000, setup 0.00)

Time for model construction: 0.102 seconds.

Type:        CTMC
States:      7077888 (1 initial)
Transitions: 69599232

Rate matrix: 2745 nodes (4 terminal), 69599232 minterms, vars: 24r/24c

Diagonals vector: 1540 nodes (38 terminal), 7077888 minterms
Embedded Markov chain: 17929 nodes (72 terminal), 69599232 minterms

Prob0: 36 iterations in 0.03 seconds (average 0.000917, setup 0.00)

Prob1: 35 iterations in 0.02 seconds (average 0.000686, setup 0.00)

yes = 3407872, no = 262144, maybe = 3407872

Computing remaining probabilities...
Engine: Sparse

Building sparse matrix... [n=7077888, nnz=35258368, compact] [141.3 MB]
Creating vector for diagonals... [dist=1, compact] [13.5 MB]
Creating vector for RHS... [dist=2, compact] [13.5 MB]
Allocating iteration vector... [54.0 MB]
TOTAL: [222.3 MB]

Starting iterations...
Iteration 33: max relative diff=0.020283, 5.14 sec so far
Iteration 66: max relative diff=0.005691, 10.29 sec so far
Iteration 99: max relative diff=0.002040, 15.45 sec so far
Iteration 132: max relative diff=0.000786, 20.59 sec so far
Iteration 165: max relative diff=0.000311, 25.73 sec so far
Iteration 197: max relative diff=0.000128, 30.74 sec so far
Iteration 229: max relative diff=0.000053, 35.74 sec so far
Iteration 261: max relative diff=0.000022, 40.75 sec so far
Iteration 294: max relative diff=0.000009, 45.88 sec so far
Iteration 326: max relative diff=0.000004, 50.91 sec so far
Iteration 358: max relative diff=0.000001, 55.92 sec so far

Backwards Gauss-Seidel: 373 iterations in 64.24 seconds (average 0.156164, setup 5.99)

Value in the initial state: 0.5389887554876981

Time for model checking: 64.359 seconds.

Result: 0.5389887554876981 (value in the initial state)


Overall running time: 65.05 seconds.

---------------------------------------------------------------------

Note: There was 1 warning during computation.